package com.kunteng.ynhxksh.entity;

import java.math.BigDecimal;
import java.util.Date;

public class T_POS_JYXX {
    private String jylsh;

    private Date jysj;

    private BigDecimal jyje;

    private String jyxm;

    private String xfsh;

    private String xfmc;

    private Long kpjh;

    private String posSn;

    private String gfxx;

    private Integer shardingId;

    private String posXzqhDm;

    private Date jyrq;

    public String getJylsh() {
        return jylsh;
    }

    public void setJylsh(String jylsh) {
        this.jylsh = jylsh == null ? null : jylsh.trim();
    }

    public Date getJysj() {
        return jysj;
    }

    public void setJysj(Date jysj) {
        this.jysj = jysj;
    }

    public BigDecimal getJyje() {
        return jyje;
    }

    public void setJyje(BigDecimal jyje) {
        this.jyje = jyje;
    }

    public String getJyxm() {
        return jyxm;
    }

    public void setJyxm(String jyxm) {
        this.jyxm = jyxm == null ? null : jyxm.trim();
    }

    public String getXfsh() {
        return xfsh;
    }

    public void setXfsh(String xfsh) {
        this.xfsh = xfsh == null ? null : xfsh.trim();
    }

    public String getXfmc() {
        return xfmc;
    }

    public void setXfmc(String xfmc) {
        this.xfmc = xfmc == null ? null : xfmc.trim();
    }

    public Long getKpjh() {
        return kpjh;
    }

    public void setKpjh(Long kpjh) {
        this.kpjh = kpjh;
    }

    public String getPosSn() {
        return posSn;
    }

    public void setPosSn(String posSn) {
        this.posSn = posSn == null ? null : posSn.trim();
    }

    public String getGfxx() {
        return gfxx;
    }

    public void setGfxx(String gfxx) {
        this.gfxx = gfxx == null ? null : gfxx.trim();
    }

    public Integer getShardingId() {
        return shardingId;
    }

    public void setShardingId(Integer shardingId) {
        this.shardingId = shardingId;
    }

    public String getPosXzqhDm() {
        return posXzqhDm;
    }

    public void setPosXzqhDm(String posXzqhDm) {
        this.posXzqhDm = posXzqhDm == null ? null : posXzqhDm.trim();
    }

    public Date getJyrq() {
        return jyrq;
    }

    public void setJyrq(Date jyrq) {
        this.jyrq = jyrq;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        T_POS_JYXX other = (T_POS_JYXX) that;
        return (this.getJylsh() == null ? other.getJylsh() == null : this.getJylsh().equals(other.getJylsh()))
                && (this.getJysj() == null ? other.getJysj() == null : this.getJysj().equals(other.getJysj()))
                && (this.getJyje() == null ? other.getJyje() == null : this.getJyje().equals(other.getJyje()))
                && (this.getJyxm() == null ? other.getJyxm() == null : this.getJyxm().equals(other.getJyxm()))
                && (this.getXfsh() == null ? other.getXfsh() == null : this.getXfsh().equals(other.getXfsh()))
                && (this.getXfmc() == null ? other.getXfmc() == null : this.getXfmc().equals(other.getXfmc()))
                && (this.getKpjh() == null ? other.getKpjh() == null : this.getKpjh().equals(other.getKpjh()))
                && (this.getPosSn() == null ? other.getPosSn() == null : this.getPosSn().equals(other.getPosSn()))
                && (this.getGfxx() == null ? other.getGfxx() == null : this.getGfxx().equals(other.getGfxx()))
                && (this.getShardingId() == null ? other.getShardingId() == null : this.getShardingId().equals(other.getShardingId()))
                && (this.getPosXzqhDm() == null ? other.getPosXzqhDm() == null : this.getPosXzqhDm().equals(other.getPosXzqhDm()))
                && (this.getJyrq() == null ? other.getJyrq() == null : this.getJyrq().equals(other.getJyrq()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getJylsh() == null) ? 0 : getJylsh().hashCode());
        result = prime * result + ((getJysj() == null) ? 0 : getJysj().hashCode());
        result = prime * result + ((getJyje() == null) ? 0 : getJyje().hashCode());
        result = prime * result + ((getJyxm() == null) ? 0 : getJyxm().hashCode());
        result = prime * result + ((getXfsh() == null) ? 0 : getXfsh().hashCode());
        result = prime * result + ((getXfmc() == null) ? 0 : getXfmc().hashCode());
        result = prime * result + ((getKpjh() == null) ? 0 : getKpjh().hashCode());
        result = prime * result + ((getPosSn() == null) ? 0 : getPosSn().hashCode());
        result = prime * result + ((getGfxx() == null) ? 0 : getGfxx().hashCode());
        result = prime * result + ((getShardingId() == null) ? 0 : getShardingId().hashCode());
        result = prime * result + ((getPosXzqhDm() == null) ? 0 : getPosXzqhDm().hashCode());
        result = prime * result + ((getJyrq() == null) ? 0 : getJyrq().hashCode());
        return result;
    }
}